package com.mashibing.servicemap.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author: $dujunhua
 * @create: 2024/4/16 10:11
 * @description: 
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "dic_district")
public class DicDistrict {
    /**
     * 城市代码
     */
    @TableId(value = "address_code", type = IdType.INPUT)
    private String addressCode;

    /**
     * 城市名称
     */
    @TableField(value = "address_name")
    private String addressName;

    /**
     * 父级城市代码
     */
    @TableField(value = "parent_address_code")
    private String parentAddressCode;

    /**
     * 级别
     */
    @TableField(value = "`level`")
    private Integer level;
}